<template>
	<view><view class="myImageBack"></view></view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {},
	onLoad() {
		setTimeout(function() {
			uni.showToast({
				title: '欢迎来到智慧城市',
				duration: 1000,
				complete() {
					//禁止返回
					uni.navigateTo({
						url: '../login/login'
					});
				}
			});
		}, 800);
	}
};
</script>

<style>
.myImageBack {
	background-image: url(../../../static/imgs/splashImage.png);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	/* 适配webkit内核的浏览器 */
	-webkit-background-size: cover;
	/* 设配 */
	-o-background-size: cover;
	background-position: center 0;
}
</style>
